Jump to content

Wikipedia:Reference desk/Mathematics: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Line 62: Line 62:
::::Do I have that right? -[[User:Amcbride|Amcbride]] ([[User talk:Amcbride|talk]]) 04:44, 24 January 2023 (UTC)
::::Do I have that right? -[[User:Amcbride|Amcbride]] ([[User talk:Amcbride|talk]]) 04:44, 24 January 2023 (UTC)
:::::Just as a distinction is made between material and logical implication, logicians make a similar distinction between [[Material equivalence|material]] and [[logical equivalence]]. Unfortunately, there is no standard notation, and the symbol "<math>\equiv</math>" is used in either of the two senses. The meaning of the second bullet is therefore not clear without context. The same applies to the use of "valid" in the third bullet. Does it mean to say that ''modus ponens'' is one of the rules of the calculus (if it isn't, a derivation using this non-existent rule does not follow the rules of the game and may be considered invalid), or is the sense that given in the article [[Validity (logic)]], in which the argument "<math>P</math> and <math>Q</math>, therefore <math>R</math>" is only considered valid when <math>P,Q\vDash R</math>? The judgement "<math>A,A\to B\vdash B</math>" can be called a symbolic rendering of the ''modus ponens'' rule itself (see the infobox in our [[Modus ponens]] article) – although [[Method of analytic tableaux|some formal systems]] allow one to derive the conclusion without the use of ''modus ponens'', so this symbolic rendering is not entirely equivalent. &nbsp;--[[User talk:Lambiam#top|Lambiam]] 08:00, 24 January 2023 (UTC)
:::::Just as a distinction is made between material and logical implication, logicians make a similar distinction between [[Material equivalence|material]] and [[logical equivalence]]. Unfortunately, there is no standard notation, and the symbol "<math>\equiv</math>" is used in either of the two senses. The meaning of the second bullet is therefore not clear without context. The same applies to the use of "valid" in the third bullet. Does it mean to say that ''modus ponens'' is one of the rules of the calculus (if it isn't, a derivation using this non-existent rule does not follow the rules of the game and may be considered invalid), or is the sense that given in the article [[Validity (logic)]], in which the argument "<math>P</math> and <math>Q</math>, therefore <math>R</math>" is only considered valid when <math>P,Q\vDash R</math>? The judgement "<math>A,A\to B\vdash B</math>" can be called a symbolic rendering of the ''modus ponens'' rule itself (see the infobox in our [[Modus ponens]] article) – although [[Method of analytic tableaux|some formal systems]] allow one to derive the conclusion without the use of ''modus ponens'', so this symbolic rendering is not entirely equivalent. &nbsp;--[[User talk:Lambiam#top|Lambiam]] 08:00, 24 January 2023 (UTC)
::::::I appreciate your continued help, Lambiam. In my second bullet I intended <math>\equiv</math> to mean logical equivalence, not material. In my third bullet, I was confused, but I think I understand the distinction now. Stating "<math>A, A \to B \vdash B</math>" is equivalent to simply saying that ''modus ponens'' is a rule of the calculus, without saying whether it is valid, right? -[[User:Amcbride|Amcbride]] ([[User talk:Amcbride|talk]]) 17:09, 24 January 2023 (UTC)


= January 24 =
= January 24 =

Revision as of 17:09, 24 January 2023

Welcome to the mathematics section
of the Wikipedia reference desk.
Select a section:
Want a faster answer?

Main page: Help searching Wikipedia

   

How can I get my question answered?

  • Select the section of the desk that best fits the general topic of your question (see the navigation column to the right).
  • Post your question to only one section, providing a short header that gives the topic of your question.
  • Type '~~~~' (that is, four tilde characters) at the end – this signs and dates your contribution so we know who wrote what and when.
  • Don't post personal contact information – it will be removed. Any answers will be provided here.
  • Please be as specific as possible, and include all relevant context – the usefulness of answers may depend on the context.
  • Note:
    • We don't answer (and may remove) questions that require medical diagnosis or legal advice.
    • We don't answer requests for opinions, predictions or debate.
    • We don't do your homework for you, though we'll help you past the stuck point.
    • We don't conduct original research or provide a free source of ideas, but we'll help you find information you need.



How do I answer a question?

Main page: Wikipedia:Reference desk/Guidelines

  • The best answers address the question directly, and back up facts with wikilinks and links to sources. Do not edit others' comments and do not give any medical or legal advice.
See also:


January 20

Rotating a point by a distance

What is the term used to mean "rotate a point around a circle by a specific distance"? For example, I have a circle with a radius of 50 inches. I want to rotate a point on the edge of the circle clockwise 2 inches. Everything I find in textbooks and online refers to rotating by a number of degrees or radians, not by a distance. I have found references to measuring the distance rotated after rotating by a specific number of degrees, which is not exactly what I am looking for. 97.82.165.112 (talk) 15:44, 20 January 2023 (UTC)[reply]

So, the reason why radians exist is that radians is a distance, or almost so. For a unit circle of radius 1, the length of an arc of X radians is... X. Radius * angle in radians = length of arc. So if you have a 2 inch arc, on a circle of radius 50, that's an angle of 2/50 = 0.04 radians, or about 2.29 degrees. --Jayron32 16:57, 20 January 2023 (UTC)[reply]
If the issue is not one of formulas but of terminology, you might say that the point is shifted along an arc of the given circle having a specific length. (The term "distance" may be interpreted in the context of planar geometry as meaning Euclidean distance.)  --Lambiam 17:16, 20 January 2023 (UTC)[reply]
Thanks. Searching for rotation by arc length brings up references to converting arc length to radians (as Jayron suggested) and then rotating by the angle. 97.82.165.112 (talk) 18:00, 20 January 2023 (UTC)[reply]

January 21

Relevance of colours in magic T-hexagon diagram

Are the colours relevant?

I wish to vectorise this diagram. Would anyone know if the colours are mathematically relevant (or purely aesthetic)? Thanks, cmɢʟeeτaʟκ 18:33, 21 January 2023 (UTC)[reply]

They were helpful in explaining restrictions on the search space that made its discovery possible, as described on this archived page: "The Magic T-Hexagon of Side 2". This specific one was the first found. I do not see a relevance extending beyond its use as an aid in explaining the search process on that archived page.  --Lambiam 21:35, 21 January 2023 (UTC)[reply]
Thanks a lot, Lambiam. cmɢʟeeτaʟκ 16:50, 22 January 2023 (UTC)[reply]


January 23

Unlucky sum of three primes

Is there a number that can be written as the sum of three odd primes in exactly 13 different ways?  --Lambiam 10:46, 23 January 2023 (UTC)[reply]

If you don't find an answer here, it sounds like your question may make a good video topic for either a Numberphile, Mathologer, or Matt Parker video. Maybe you could write to them and see if they put it in the queue. --Jayron32 13:11, 23 January 2023 (UTC)[reply]
I'm pretty sure the answer is no. I ran a quick script and couldn't find any, and based on the following argument, I think that might generally suffice.
If we take some odd number and some odd prime , then is an even number greater than 4 and almost certainly (cheekily assuming Goldbach's conjecture) the sum of two odd primes . Of course, we can't say anything about uniqueness of solutions if we don't establish some condition on (e.g. and , is the same solution as , .) Luckily though, if we consider only between and inclusive, each gives us at least one unique solution, since it would be impossible for two of the three primes summing to to be greater than . So the number of unique ways to have be the sum of three primes is at least the number of primes between and inclusive.
I'd have to look deeper to find any heuristics on what this might be, but I'm willing to bet that it has a growth rate that leads to the nonexistence of a number that is the sum of three odd primes in 13 different ways. GalacticShoe (talk) 21:54, 23 January 2023 (UTC)[reply]
Okay, so according to Bertrand's postulate#Erdős's theorems, "Erdős proved in 1934 that for any positive integer k, there is a natural number N such that for all n > N, there are at least k primes between n and 2n." If we consider the odd number from earlier, then since is even, we know that after some point, there are always at least 16 primes between and , and removing possible primes from (at least one of them has to be divisible by ) yields primes from which we can construct solutions. In other words, we only have to search up to a finite point to find unlucky sums of three primes before they become impossible. But as to what that finite point is? No idea, I'd have to look further. GalacticShoe (talk) 21:59, 23 January 2023 (UTC)[reply]
Effective bounds were given by Ramanujan. It appears that (assuming Goldbach) there are at least prime triplets summing up to odd when , in which denotes the -th Ramanujan prime. Since the search can stop quite early.  --Lambiam 23:34, 23 January 2023 (UTC)[reply]

 Solved.

Rule of inference vs. logical consequence

I think I understand the distinction between material conditional and logical consequence: A logically implies B iff AB is a tautology, right? But I must be confused, because this seems the same as the relationship between material conditional and rule of inference. (The article on rule of inference even seems to equate rules of inference with entailment in this section, and our article on logical consequence seems to take entailment as a synonym for logical consequence.) Yet Hilbert systems for propositional logic make a clear distinction between an axiom, which seems in this context to be a statement that some propositional formula is a tautology, and an inference rule. What am I missing? -Amcbride (talk) 16:03, 23 January 2023 (UTC) (EDIT: Just realized that middle section of rule of inference says it's using the sequent notation, which I'm used to seeing as entailment, specifically to emphasize the distinction between axioms and rules of inference... but in my confusion, this notation just seems to blur the distinction further.)[reply]

Inference rules and tautologies are very closely related. Let's consider modus ponens: . There's a corresponding tautology: . In general, any rule of inference gives rise to a tautology by writing that the conjunction of the hypotheses imply the conclusion -- this is called soundness of the rules of inference. Conversely, for tautologies of the form , you can show by a sequence of rules of inference -- this is completeness of the rules of inference.
An important thing to understand is that tautologies are statements in the logical language, but rules of inference are not. Rules of inference are methods of combining statements to generate new statements.
Axioms are statements, but are generally not tautologies. They are additional statements which we are asserting to be true.--2600:4040:7B33:6E00:5D8:EC09:6C4:6CA0 (talk) 17:14, 23 January 2023 (UTC)[reply]
Thanks. I think part of my confusion is that, although a tautology itself is a statement in an object language, the statement that a given tautology is indeed a tautology is a metalanguage statement. Right? It's that latter animal, the assertion that a given statement is a tautology, that I'm having trouble distinguishing from a rule of inference [EDIT: when the tautology is an implication, I mean]. (And you say axioms are not generally tautologies, but for propositional logic, they are, right?) -Amcbride (talk) 17:53, 23 January 2023 (UTC)[reply]
(edit conflict) I may not be the best person to answer this, since I, like you, have been confused by the way this is defined and discussed in the literature. Here is my try:
Given a logic (a formal system), one should distinguish between the theory of the logic, formed by the sentences that can be proved as theorems using its rules of inference, and its "necessity" , being the set of sentences that are true in all models of the logic. Normally, one should only allow ground terms here or variables that are bound by a quantifier; otherwise the notion of a sentence being true is unclear. If the logic is sound, that is, all provable sentences are true in all models. If the logic is complete, the converse inclusion holds. The easiest way (IMO) to think of the material conditional (aka "material implication") is as just a formula in the formal language of the logic, assuming it has an implication connective such as , in which case it is a sentence of the form Depending on the logic and on the antecedent and consequent of , it may or may not be an element of and it may or may not be an element of All four cases are possible. But if it is a member of it gets awarded a special status, variously known as "strict implication", or "entailment", or "logical consequence". The latter term is confusing; this notion of "consequence" is in terms of the models of the logic, and is not related to its deductive system with its rules of inference. It is a semantic notion; using double turnstile notation, we can express it as  --Lambiam 17:18, 23 January 2023 (UTC)[reply]
Thank you. This gives me a lot to read. I think part of my problem may be that I don't know enough about model theory or proof theory to disentangle ideas that belong with one or the other. -Amcbride (talk) 17:59, 23 January 2023 (UTC)[reply]
You don't need to know much about model theory or proof theory, as long as you keep in mind that soundness and completeness of a formal system are different properties that both cannot be taken for granted. Being true (technically known as being a tautology, sometimes denoted " ") and being provable (denoted with a single turnstyle as " ") are different properties of a sentence. Consider a formal system whose only sentence is with the understanding that we only consider standard interpretations in which this stands for the truth value “true". Then the system has only one model, and in this model is true, so it is a tautology. If we now choose not to add any axioms or inference rules to the system, it has no theorems, so it is not only very sound but also very incomplete. Specifically, we have but .  --Lambiam 22:08, 23 January 2023 (UTC)[reply]
Thank you; I think this really does help me see it. To test my understanding, in the context of a typical propositional calculus, we could write:
  • ""
...a sentence in the object language
  • ""
...a sentence in metalanguage, equivalent to ""
  • "Modus ponens is a valid inference rule."
...a different sentence, also in metalanguage, equivalent to ""
Do I have that right? -Amcbride (talk) 04:44, 24 January 2023 (UTC)[reply]
Just as a distinction is made between material and logical implication, logicians make a similar distinction between material and logical equivalence. Unfortunately, there is no standard notation, and the symbol "" is used in either of the two senses. The meaning of the second bullet is therefore not clear without context. The same applies to the use of "valid" in the third bullet. Does it mean to say that modus ponens is one of the rules of the calculus (if it isn't, a derivation using this non-existent rule does not follow the rules of the game and may be considered invalid), or is the sense that given in the article Validity (logic), in which the argument " and , therefore " is only considered valid when ? The judgement "" can be called a symbolic rendering of the modus ponens rule itself (see the infobox in our Modus ponens article) – although some formal systems allow one to derive the conclusion without the use of modus ponens, so this symbolic rendering is not entirely equivalent.  --Lambiam 08:00, 24 January 2023 (UTC)[reply]
I appreciate your continued help, Lambiam. In my second bullet I intended to mean logical equivalence, not material. In my third bullet, I was confused, but I think I understand the distinction now. Stating "" is equivalent to simply saying that modus ponens is a rule of the calculus, without saying whether it is valid, right? -Amcbride (talk) 17:09, 24 January 2023 (UTC)[reply]

January 24

Proving the limit of xⁿ by definition‏‏

This question bugs me for quite a while now, and I would like to hear an honest opinion:
Is this a valid proof, or is it somewhat "circular" by assuming the nth root function is defined and continuous?

יהודה שמחה ולדמן (talk) 11:57, 24 January 2023 (UTC)[reply]

Of which statement is this meant to be a proof? ? If so, some conditions on and may be needed. The appeal to the binomial theorem already implies that is a non-negative integer. If and can both be equal to , you run into being (depending on who you talk to) iffy. Apart from that, the statement follows from the continuity of multiplication. If a proof is required using the definition of limit, the last steps need more care and finesse. Even assuming definedness and continuity of the -th root function, I don't see where the expression for comes from and how it guarantees the validity of the preceding equality. Using that for , the last inequality can be extended to
Assuming and this expression allows you to find a solution for that pushes this upper bound down to .  --Lambiam 12:43, 24 January 2023 (UTC)[reply]
It seems I am not helping anyone by skipping steps.
So again: is this a valid proof or not?
יהודה שמחה ולדמן (talk) 15:45, 24 January 2023 (UTC)[reply]