Two Questions I Have About My L.A. Textbook

  • I
  • Thread starter gibberingmouther
  • Start date
  • Tags
    Textbook
In summary: I was pretty good at algebra at one point (I won't brag about my math SAT lol though I will say I brought it up 160 points by studying! very proud of that) but if you don't use it, you lose it i guess. Right now I'm trying to understand the way to do "polynomial interpolation" but I'm having some trouble. I know I'll get it, it just might take me a little bit (like I'll probably have something to say by tomorrow).In summary, the textbook author left an "exercise" to derive a formula for the y intercept of a linear equation, and the student was able to find the equation using graph theory and matrix algebra.
  • #1
gibberingmouther
120
15
My first question is about a formula for the y intercept of a linear equation, given you know two points that the line goes through. I Googled but no luck - it's hard to type a formula into Google.

The formula is: b = (y1*x2 - y2*x1)/(x2 - x1)

The textbook author left this as an "exercise" to derive, but I don't understand where it comes from.

<Second question moved by mentor to its own thread -- https://www.physicsforums.com/threads/a-question-i-have-about-my-l-a-textbook-2.949215/>

Thanks.
 
Last edited by a moderator:
Physics news on Phys.org
  • #2
The first thing you need to do for each problem is draw a picture showing everything you know about it. So let's start with the first problem. Draw x and y axes, draw a line. Since you don't know the exact equation of the line, label the line with the general equation of a line (slope and intercept are unknown parameters). Mark two points on the line and label them ##(x_1,y_1)## and ##(x_2,y_2)##. This ought to suggest a next step.
 
  • Like
Likes StoneTemplePython and gibberingmouther
  • #3
tnich said:
The first thing you need to do for each problem is draw a picture showing everything you know about it. So let's start with the first problem. Draw x and y axes, draw a line. Since you don't know the exact equation of the line, label the line with the general equation of a line (slope and intercept are unknown parameters). Mark two points on the line and label them ##(x_1,y_1)## and ##(x_2,y_2)##. This ought to suggest a next step.

Okay, I didn't want to appear dumb so I cheated. I did try first though. Anyway, I see how to derive it now but am still a little lacking in confidence in my understanding of how the derivation works. So we have y = mx + b -> y = (y2 - y1)/(x2-x1) * x + b. I see that you can evaluate this equation at (x1, y1) or (x2, y2) and come up with the formula I was trying to derive. M is just the slope - I've graphed enough equations that this part makes perfect sense to me. So we can evaluate the equation at an arbitrary point (x1, y1) or (x2, y2) - we have to choose one of those so the math will work out. And it doesn't matter which points you choose, b will always be the same? I guess I'm okay with this, but I had to talk my way through it first. Like the rubber duck effect, my favorite thing ever that works even outside computer science, though my dad is probably tired of me using him as my duck :)
 
  • #4
You have made yourself believe the answer, but you still have not derived it. I think the textbook author's intention in leaving the derivation as an exercise for the reader was to let you apply some of the knowledge you have picked up in your reading about linear algebra.

So, after drawing the picture, what's your next step?
 
  • #5
tnich said:
You have made yourself believe the answer, but you still have not derived it. I think the textbook author's intention in leaving the derivation as an exercise for the reader was to let you apply some of the knowledge you have picked up in your reading about linear algebra.

So, after drawing the picture, what's your next step?
You want to get a linear equation that you can solve with matrix algebra.
 
  • Like
Likes gibberingmouther
  • #6
y = mx + b -> y1 = (y2 - y1)/(x2 - x1)*x1 + b -> b = (-y2x1+y1x1)/(x2 - x1) + y1(x2 - x1)/(x2 - x1) -> b = (y1x2-y1x1-y2x1+y1x1)/(x2 - x1) -> b = (y1x2-y2x1)/(x2 - x1)

I usually check the math myself using my notepad by my computer. I'm not math illiterate, I can do basic algebra. I actually took linear algebra and up to Calculus II and statistics. It's been awhile though. I was pretty good at algebra at one point (I won't brag about my math SAT lol though I will say I brought it up 160 points by studying! very proud of that) but if you don't use it, you lose it i guess. Right now I'm trying to understand the way to do "polynomial interpolation" but I'm having some trouble. I know I'll get it, it just might take me a little bit (like I'll probably have something to say by tomorrow).
 
  • #7
gibberingmouther said:
y = mx + b -> y1 = (y2 - y1)/(x2 - x1)*x1 + b -> b = (-y2x1+y1x1)/(x2 - x1) + y1(x2 - x1)/(x2 - x1) -> b = (y1x2-y1x1-y2x1+y1x1)/(x2 - x1) -> b = (y1x2-y2x1)/(x2 - x1)

I usually check the math myself using my notepad by my computer. I'm not math illiterate, I can do basic algebra. I actually took linear algebra and up to Calculus II and statistics. It's been awhile though. I was pretty good at algebra at one point (I won't brag about my math SAT lol though I will say I brought it up 160 points by studying! very proud of that) but if you don't use it, you lose it i guess. Right now I'm trying to understand the way to do "polynomial interpolation" but I'm having some trouble. I know I'll get it, it just might take me a little bit (like I'll probably have something to say by tomorrow).
I see that you have used your knowledge of the slope to derive the formula for the intercept. If you want to solve the polynomial problem, though, you will need a different approach. If you can work through this approach on the first problem, it will seem much easier on the second problem.

So continuing with the first problem, try this. Start with the equation ##y=mx+b## for the line. Plug in your two sets of values for ##x## and ##y## to get two linear equations with m and b as the unknowns. Now you will have two equations in two unknowns that you can solve using linear algebra.
 

1. What is the main purpose of the L.A. textbook?

The main purpose of the L.A. textbook is to provide students with a comprehensive understanding of the English language, including reading, writing, and critical thinking skills. It also aims to expose students to a variety of literary genres and texts, as well as improve their communication and analytical abilities.

2. How often is the L.A. textbook updated?

The frequency of updates to the L.A. textbook may vary depending on the publisher and edition. However, in general, textbooks are updated every few years to reflect changes in curriculum, language usage, and advancements in the field of English language and literature.

3. Can the L.A. textbook be used for self-study?

Yes, the L.A. textbook can be used for self-study. It contains comprehensive explanations, examples, and exercises that allow students to learn and practice the concepts at their own pace. However, it is recommended to also consult with a teacher or tutor for further guidance and feedback.

4. Are there any digital resources available for the L.A. textbook?

Yes, many L.A. textbooks now come with digital resources such as online practice exercises, interactive activities, and audio or video recordings of texts. These resources can further enhance the learning experience and make it more engaging for students.

5. How can the L.A. textbook be used effectively in the classroom?

The L.A. textbook can be used effectively in the classroom by following a structured lesson plan that incorporates a variety of teaching methods, such as lectures, discussions, group activities, and individual exercises. It is also important for teachers to adapt the textbook to fit the needs and learning styles of their students.

Similar threads

  • Linear and Abstract Algebra
Replies
6
Views
1K
  • Science and Math Textbooks
Replies
19
Views
843
  • MATLAB, Maple, Mathematica, LaTeX
Replies
4
Views
822
  • Science and Math Textbooks
Replies
28
Views
1K
Replies
13
Views
954
  • Science and Math Textbooks
Replies
11
Views
2K
  • Science and Math Textbooks
Replies
8
Views
1K
Replies
7
Views
2K
  • Science and Math Textbooks
Replies
17
Views
2K
  • Linear and Abstract Algebra
Replies
5
Views
3K
Back
Top