Use exact arithmetic to solve the following system?

  • Thread starter Thread starter Math10
  • Start date Start date
  • Tags Tags
    Arithmetic System
Click For Summary

Homework Help Overview

The problem involves solving a system of linear equations using exact arithmetic. The equations presented are 10 - 3x - y = 1 and x + y = 0, with a focus on avoiding decimal approximations and using rational numbers instead.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the use of exact fractions versus decimal approximations in solving the system. Some suggest using methods like Gaussian elimination while maintaining rational numbers throughout the process. Others question the necessity of specific methods like the Gauss-Jordan method.

Discussion Status

The discussion is ongoing, with various methods being explored. Some participants have provided guidance on using rational numbers and suggested alternative approaches, but there is no explicit consensus on the best method to use.

Contextual Notes

Participants express confusion about the definition of "exact arithmetic" and whether certain representations, such as decimals, can be considered exact. There is also mention of homework constraints regarding the use of specific methods and formats.

Math10
Messages
301
Reaction score
0

Homework Statement


Use exact arithmetic to solve the following system:

10-3x-y=1,
x+y=0.


Homework Equations


I know that 10-3=0.001.


The Attempt at a Solution


Here's the work:

y=-x
10-3x+x=1
x(10-3+1)=1
x=1/(0.001+1)=1/1.001
y=-1/1.001 since y=-x

The answer for this problem is (1/1.001, -1/1.001) but this is a Linear Algebra problem. The work that I've shown above are Algebra 1 skills. I must use exact arithmetic to solve the system. How do I do so?
 
Physics news on Phys.org
Math10 said:

Homework Statement


Use exact arithmetic to solve the following system:

10-3x-y=1,
x+y=0.


Homework Equations


I know that 10-3=0.001.


The Attempt at a Solution


Here's the work:

y=-x
10-3x+x=1
x(10-3+1)=1
x=1/(0.001+1)=1/1.001
y=-1/1.001 since y=-x

The answer for this problem is (1/1.001, -1/1.001) but this is a Linear Algebra problem. The work that I've shown above are Algebra 1 skills. I must use exact arithmetic to solve the system. How do I do so?

Do NOT use decimal; use exact fractions instead. Your original equations are
\frac{x}{1000} - y = 1 \\<br /> x + y = 0
So, of course, you have
\frac{x}{1000} + x = 1 \: \Longrightarrow \left( \frac{1}{1000} + 1 \right) x = 1
Surely you can finish this!
 
Frankly, I don't see any problem with using 1.001. That's every bit exact as \frac{1001}{1000}.

If you had written something like 0.3333 for 1/3, then you would not be using "exact arithmetic".
 
HallsofIvy said:
Frankly, I don't see any problem with using 1.001. That's every bit exact as \frac{1001}{1000}.

If you had written something like 0.3333 for 1/3, then you would not be using "exact arithmetic".

I was trying to offer advice that would apply to any, general system, not just to the very special (and very simple) example case illustrated in the problem.
 
Is that the right way to use exact arithmetic to solve the system? No augmented matrix and Gauss-Jordan method involved?
 
Math10 said:
Is that the right way to use exact arithmetic to solve the system? No augmented matrix and Gauss-Jordan method involved?

No, you can use whatever method you want (Gaussian elimination, for example); it is just that instead of using decimal numbers in the procedure you use rationals throughout. For example, consider the system
6 x + 8 y = 19\\<br /> 15 x - 9y = 12
The augmented form is
\begin{array}{rr|r}<br /> 6 &amp; 8 &amp; 19\\<br /> 15 &amp; -9 &amp; 12<br /> \end{array}
After one stop of Gaussian elimination we have
\begin{array}{rr|r}<br /> 6 &amp; 8 &amp; 19\\<br /> 0 &amp; -29 &amp; -71/2<br /> \end{array}
Thus,
0 x - 29 y = -71/2 \: \Longrightarrow y = (-71/2)/(-29) = 71/58. Also,
x = (1/6)[19 - 8y] \; \Longrightarrow x = (1/6)[19 - 8(71/58)] = 89/58.
 
Last edited:
What do you mean to use rationals? Do you meant that I convert 10^-3 into a fraction?
 
So I set up the augmented matrix and I want to solve this system using Gauss-Jordan method.

1/1000 -1
1 1

Is this how I solve this problem with 1 and 0 after the straight line in the right?
 
Math10 said:
So I set up the augmented matrix and I want to solve this system using Gauss-Jordan method.

1/1000 -1
1 1

Is this how I solve this problem with 1 and 0 after the straight line in the right?

Do you know the matrix method? If so, use it to solve it with those numbers.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
Replies
8
Views
2K
  • · Replies 30 ·
2
Replies
30
Views
4K
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 25 ·
Replies
25
Views
2K
Replies
10
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 40 ·
2
Replies
40
Views
5K
Replies
2
Views
1K