Solve the differential equation y'=|x|, y(-1)=2

Agohofidov6

Agohofidov6

Answered question

2022-01-21

Solve the differential equation y=|x|,y(1)=2

Answer & Explanation

Becky Harrison

Becky Harrison

Beginner2022-01-21Added 40 answers

Those constants aren't independent (there's really only one). |x| is continuous, so the derivative y′(and therefore y itself) must also be continuous. So you really only have the one function, defined over all R:
y=12x2+52,x<0
y=12x2+52,x0
This passes through (-1,2) and solves the equation, like you said. In general the interval on which the solution is defined is taken to be the largest possible such interval. In this case that's the entire real number line.
Mary Goodson

Mary Goodson

Beginner2022-01-22Added 37 answers

This differential equation can be integrated directly. We must calculate
y(x)=2+1xdt|t|
Note that we have built in the boundary condition
y(1)=2.
If x<0,
y(x)=21xdt t
=12x2+52,
otherwise y(x)=210dt t+0xdt t
=12x2+52.

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Differential Equations

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?