Solve the differential equation $$y'=y^2-x$$ with two different initial conditions: $y(0)= 1$ and $y(0)=0.5$.
My idea:
Suppose $y^2=t$ then $2yy'=t' \Rightarrow y'= \frac{t'}{2 \sqrt{t}}$
Given equation reduced by $\frac{t'}{2 \sqrt{t}}=t-x \Rightarrow t'=2 t\sqrt{t}-x \sqrt{t}$
How to solve from here and how to use both initial conditions?
Solving the equation analytically is impossible by hand, as it involves a really complex expression involving the Bessel function. For such issues though, the solution approach via power series was implemented.
By the power series approach, assume that a solution will be proportional to :
$$y(x) = \sum_{n = 0}^\infty a_n(x-x_0)^n$$
around an initial value point $x=x_0$.
For your specific case, since $x_0=0$ judging from the given IVPs, you will have to solve the following systems of equations for both cases :
$$\begin{cases} y'=y^2-x \\ y(x) = \sum_{n = 0}^\infty a_nx^n \\ y(0) = 1 \end{cases}$$
$$\begin{cases} y'=y^2-x \\ y(x) = \sum_{n = 0}^\infty a_nx^n \\ y(0) = 1/2 \end{cases}$$
Doing so, you will have to calculate the derivative of the sum given to plug it in your differential equation and find out expressions and values for the constants $a_n$ :
$$y(x) = \sum_{n = 0}^\infty a_nx^n$$
$$y'(x) = \sum_{n = 0}^\infty na_nx^{n-1}$$
Can you proceed now ?
(Credits to Pedro as well for pointing out on the comments' section)