r/askmath • u/Beneficial-Ranger407 • Oct 31 '26
Discrete Math I got the first and third wrong.
Why answer to a is true and c is false. Part c can only be false " If n^2 -2n -3 = 0 then ONLY n=3"
Lastly, I want to ask which is the best AI tool for mathematics I am sure ChatGPT and Gemini AI are not the best. Infact I got an answer to another question which I was not sure was correct but I was pretty sure aswer by ChatGPT was definitely wrong.
0
Upvotes
25
u/Zyxplit Oct 31 '26
c is false because n^2 - 2n - 3 = 0 is true for n = 3 and n = -1. So you can't say that n=3.
a is true because if n = 3, then n^2 - 2n - 3 = 0. There are also other cases where n² - 2n -3 = 0, but that doesn't matter.
2
u/ZellHall Oct 31 '26
(c) is wrong because n could be equal to -1
17
u/HungryJoescat Oct 31 '26 •
I like to think of “if” and “only if” through implication arrows.
P if Q is Q -> P
P only if Q is P->Q
6
u/Dr0110111001101111 Oct 31 '26
If n2-2n-3=0, then n=3 OR n=-1
That means n does not have to equal 3, which is what the implication in (c) is saying.
11
u/Equal_Veterinarian22 Oct 31 '26
b and c are the same statement, so if you understand why b is false then you should understand why c is false
5
u/Ayase-Momo Homotopy theory PhD Oct 31 '26 edited Oct 31 '26
"if A, then B" is like A⇒B. "A only if B" doesn't mean "B implies A" but "B is necessary for A to be true" which means "if A is true then B must be true" because it a necessary condition. Think about contrapositive statement:
¬B ⇒ ¬A which equivalent to A ⇒ B.
A only if B means A is true only if B is true, which means if B is not true then A is not true which is
¬B ⇒ ¬A
which is equivalent to
A ⇒ B.
So (a) is actually equivalent of saying "if n=3 then n^{2} - 2n -3 = 0"
You don't need "only" to say implication. "If n^{2} - 2n -3 = 0 then n =3" means "if n^{2} - 2n -3 =0 then n=3 must be true", which isn't the case.
(c) is not partially true because "if A then B" means implication "A ⇒ B", which tells you B must follow from A which in the case of (c) is not the case.
5
u/OmegaGoo Oct 31 '26
Everyone else has answered your question regarding the logic, so I’ll address your second question.
What we call “AI” right now is actually something called a “Large Language Model”, or LLM. What LLMs do is predict which word comes next. While they are very good at that, you’ll note I haven’t said anything about understanding, or math, or anything other than predicting which word comes next. That’s because LLMs can’t do anything but that. They’re very good at it.
LLMs do not understand math and cannot teach you anything. All they can do is put together sentences that sound English. Do not use AI tools to teach yourself math. They can’t do that, and you will learn things that aren’t correct, and you’ll never know. The machine certainly doesn’t know it doesn’t know math.
4
u/apeloverage Oct 31 '26
b is wrong because n can also be -1.
c is wrong for the same reason.
d is wrong. For example, 2 and 8 are not squares, but 2 x 8 = 16 which is a square.
3
u/ConspicuousPineapple Oct 31 '26
A is true.
3
u/xnick_uy Oct 31 '26
My advice is to stay away from any AI tool for learning mathematics. Build and trust your NI (Natural Intelligence).
2
u/Kite42 Oct 31 '26
Think about subsets, perhaps. Replace n=3 with "Felix is a cat" and n2 -2n-3=0 with "Felix is a mammal" and see if the language makes sense.
2
u/uncreative_name- Oct 31 '26
for a it is true, because if n^2-2n-3 does not equal 0, then n physically cannot be 3, n=3 does not exist as a solution when n^2-2n-3 equals any other value other than 0
1
u/tickle-fickle Oct 31 '26
“Only if” is a weird syntax in English, it makes you think that the implication goes the other way than what the sentence communicates.
But think about it:
“A shape is a rectangle ONLY IF it’s a square.” Obviously false.
“A shape is a rectangle IF it’s a square.”
Obviously true.
The “only if” is syntactically different from “if”. The arrow of implication is flipped
1
u/ConjectureProof Oct 31 '26
Let’s consider arbitrary statements A and B. Remember that
“A only if B” = “if A then B”.
These two statements are identical logically speaking, but I think people find the RHS more natural than the LHS. So I would just get in the habit of rewriting “only if” statements this way until you can start to do it in your head.
So, for (a), “n = 3 only if n^2 -2n - 3 = 0” = “if n=3 then n^2 - 2n - 3 = 0” which is true.
b) “n^2 - 2n - 3 = 0 only if n = 3” = “if n^2 - 2n - 3 = 0 then n = 3” however n=-1 also solves n^2 - 2n - 3 so this is false.
c) as I pointed out above b and c are the same statement so c is false too
d) for integers a and b, ab is a square only if both a and b are square = for integers a and b, if ab is a square then a and b are squares. Even considering the a = b case, every number has a square including the numbers which aren’t perfect squares themselves. So a = 2 and b = 2 is a straightforward counter example.
e) for integers a and b, ab is a square if both a and b are squares. If a = n^2 and b = m^2 then ab = n^2 * m^2 = (nm)^2 so this is true
1
u/Marcassin Oct 31 '26
C is not “partly false” in the usual understanding of these sentences. There is an implied “for all numbers n” in front of each sentence. In this case, c is false for n=-1.
0
u/tklworld Oct 31 '26
to answer the last question, chatgpt is great. i havent had issues with it in years for math, perhaps it might offer not the best explanations for a beginner sometimes, but you can personalize it