Find a solution to an equation with 2 variables

  • Thread starter Thread starter xeon123
  • Start date Start date
  • Tags Tags
    Variables
Click For Summary
The discussion centers on solving the linear equation 5x + 3y = 30, with the original equation being 5x + 3y = 29. It is clarified that this type of equation represents a line, meaning there are infinitely many solutions, as any point (x, y) on the line satisfies the equation. The user mistakenly believed they needed to find a single solution, but it was explained that a single solution requires at least as many equations as variables. The conversation concludes by emphasizing that only points on the line are valid solutions, and provides a resource for graphing to visualize the solutions better.
xeon123
Messages
90
Reaction score
0
Hi,

I've this one equation.

Is it possible to find a solution for this equation? How?

5x+3y=29Is this a linear equation?
 
Physics news on Phys.org
Yes it is a linear equation.

Given any set of values for x one can plot a graph showing the corresponding values of y which, together with the values of x, satisfy the equation.
 
I'm going to replace 29 to 30, because it's easier to solve.
Now the equation become 5x+3y=30.

To solve this equation, I did the following:

x=\frac{30-3y}{5} = 6-\frac{3}{5}y

y=\frac{30-5x}{3} = 10-\frac{5}{3}xreplacing the x variable in the y equation, I ended in the result:

y=10-\frac{5}{3}(6-\frac{3}{5}y) = 10-10+y

Now, I'm stuck.

y=y? Really?

I must be doing something wrong and I don't know where. Any help?
 
Last edited:
Where did you get 30? It should be 29 based on your original equation.
 
Yes, it should be 29 on the original equation, but doesn't matter if it's 29 or 30. I just put 30 now, because because I think it's easier to solve it. I just want to know what am I doing wrong, to my solution end in the stuck stage.
 
xeon123 said:
I'm going to replace 29 to 30, because it's easier to solve.
Now the equation become 5x+3y=30.

To solve this equation, I did the following:

x=\frac{30-3y}{5} = 6-\frac{3}{5}y

y=\frac{30-5x}{3} = 10-\frac{5}{3}x


replacing the x variable in the y equation, I ended in the result:

y=10-\frac{5}{3}(6-\frac{3}{5}y) = 10-10+y

Now, I'm stuck.

y=y? Really?

I must be doing something wrong and I don't know where. Any help?

Getting y = y shows that the working was OK.

But getting expressions of x and for y from the given equation and substituting these expressions back into the equation will lead nowhere except to tell us that y = y!
 
So, how do I solve this equation?
 
The equation 5x + 3y = 30 (your revised equation) represents a line in the plane. As such, there is no single solution. Every pair of points (x, y) that is on the line is a solution to this equation.

Some points on the line are (6, 0), (0, 10), and an infinite number of others.
 
1 - So, you mean that exists many solutions. This is because of this specific equation, or all these type of equations have several solutions, and what I did is enough?

2 - If I draw a line in a plan between (6,0) and (0,10), it means that all the values that are inside the area of the line ( (6,0) -- (0,0) -- (0,10); points AOB) are solutions?
 
  • #10
xeon123 said:
1 - So, you mean that exists many solutions. This is because of this specific equation, or all these type of equations have several solutions, and what I did is enough?
Yes, there are many (an infinite number of) solutions to your equation. Any equation of the form Ax + By = C, where A and B are not both zero, represents a straight line. Any point (x, y) on the line is a solution to the equation, and any solution to the equation is a point on the line.

As to what you did, all you did was write an equivalent equation y = 10 - (5/3)x. This is just another form for the same equation - you didn't find any solutions. You also wrote another equation in which you solved for x. That also is not finding a solution.

Toward the end of your 2nd post, you did some more work in which you concluded that y = y. This is true, but not at all useful. A variable is obviously equal to itself.

Any of the three equations can be used to find as many solutions as you want. For example, using the equation y = 10 - (5/3)x, if you let x = 0, it's easy to see that y = 10. So the point (0, 10) is a solution.

If you let x = 3, then y = 5, so (3, 5) is a solution. And so on for as many values of x as you want to put into the equation.


xeon123 said:
2 - If I draw a line in a plan between (6,0) and (0,10), it means that all the values that are inside the area of the line ( (6,0) -- (0,0) -- (0,10); points AOB) are solutions?
No. The only solutions to the equation 5x + 3y = 30 (or y = (-5/3)x + 10) are the points on the line - not under it or over it.

The points (6, 0) and (0, 10) are solutions to the equation (and are points on the line) because each of these pairs of numbers makes 5x + 3y = 30 a true statement. The point (0, 0) is not a solution (and so is not on the line) because 5*0 + 3*0 \neq 30.
 
  • #11
If you want a single solution for all the variables you'll have to have at least as many equations as variables. Here you have 2 variables and 1 equation, so a single solution isn't possible. Note that having as many equations as variables doesn't mean there will be a solution.

In the case of your equation:
y = -(5/3)x + 10
This equation will give a single solution:
y = x + 2

In this case, the solution is where the two lines intersect, x=3, y=5.

However this equation:
y = -(5/3)x + 9
will produce a parallel line that will never intersect. Thus, there is no solution.

Here's a good online graphing calculator to play around with this stuff:
http://my.hrw.com/math06_07/nsmedia/tools/Graph_Calculator/graphCalc.html
 
  • #12
Yeah you need at least two equations in this case to find a single solution ;]
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
Replies
18
Views
3K
Replies
2
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 11 ·
Replies
11
Views
2K
Replies
11
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K