How to Solve Differential Equations with Wolfram Alpha?

  • Thread starter Thread starter flyingpig
  • Start date Start date
Click For Summary
SUMMARY

This discussion focuses on solving ordinary differential equations (ODEs) using Wolfram Alpha, specifically the equation 2y^2 + 2y + 4x^2 + (2xy + x)y' = 0. The user attempted to use the DSolve function in Mathematica but encountered issues with notation. They discovered that Wolfram Alpha can solve the equation by simply typing it in a more natural language format, demonstrating its flexibility. The conversation also touches on the implications of using such tools for homework and the potential loss of solutions, such as y = -1/2, when using integrating factors.

PREREQUISITES
  • Understanding of ordinary differential equations (ODEs)
  • Familiarity with Wolfram Alpha and its capabilities
  • Basic knowledge of integrating factors in differential equations
  • Experience with Mathematica's DSolve function
NEXT STEPS
  • Explore the use of Wolfram Alpha for solving various types of ODEs
  • Learn about integrating factors and their role in solving differential equations
  • Investigate the differences between using Wolfram Alpha and Mathematica for ODE solutions
  • Study the implications of using computational tools for academic integrity in homework
USEFUL FOR

Students, educators, and mathematicians interested in solving differential equations efficiently, particularly those looking to leverage computational tools like Wolfram Alpha for homework and problem-solving.

flyingpig
Messages
2,574
Reaction score
1

Homework Statement

i can solve them myself, but sometimes I am just lazy.

How do you make Wolframalpha solve these exact, non-exact, other ODEs?

Ex.

2y^2 + 2y + 4x^2 + (2xy + x)y' = 0

I tried using

DSolve[{(2*y[x]^2 + 2y[x] + 4x^2) + (2xy[x] + x)y'[x] = 0 }, y[x], x]

Not working?Problem

Solve 2y^2 + 2y + 4x^2 + (2xy + x)y' = 0

Work

\frac{\partial }{\partial y}(2y^2 + 2y + 4x^2) = 4y + 2

\frac{\partial }{\partial x}(2xy + x) = 2y + 1

\frac{4y+2-2y - 1}{2xy + x} = \frac{2y+1}{x(2y+1)} = \frac{1}{x}

Then clearly the integrating factor is \mu (x) = x

Now my question is, what is the solution that is lost? Is it y = -1/2? Because of \frac{2y+1}{x(2y+1)}?
 
Last edited:
Physics news on Phys.org
The good thing about wolfram|alpha is that you don't need to use correct notation. I just typed in "solve 2y^2+2y+4x^2+(2xy+x)dy/dx=0" and it worked.
 
How do you make it show your solutions implicity?
 
Do you tell your teacher that you use Wolfram alpha to solve homework problems?
 
HallsofIvy said:
Do you tell your teacher that you use Wolfram alpha to solve homework problems?

No self-studying right now, but I use it for problems that I don't have the solutions to. The instructor manual I got for some reason only has even solutions.

That's why I am using computers to replace them now lol
 

Similar threads

Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
943
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
Replies
2
Views
1K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K